//
//  YLMineMoneyModel.h
//  YLFinanceService
//
//  Created by she1323 on 2017/12/4.
//  Copyright © 2017年 she1323. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <YYModel.h>

typedef enum {
    YLMineMoneyModelTypeInvestment = 1, // 在投金额
    YLMineMoneyModelTypeExpectedEarnings = 2, // 预期收益
    YLMineMoneyModelTypeIncomeToAccount = 3 // 到账收益
} YLMineMoneyModelType;

@interface YLMineMoneyModel : NSObject

/**
 项目名称
 */
@property (nonatomic, strong) NSString *productName;

/**
 合同编号
 */
@property (nonatomic, strong) NSString *contractCode;

/**
 投资金额
 */
@property (nonatomic, assign) CGFloat investmentAmount;

/**
 预期收益
 */
@property (nonatomic, assign) CGFloat expectIncome;

/**
 到账收益
 */
@property (nonatomic, assign) CGFloat incomeAmount;


/**
 日期
 */
@property (nonatomic, strong) NSString *paymentDateText;

@property (nonatomic, assign) YLMineMoneyModelType type;


@end

@interface YLMineMoneyItem : NSObject<YYModel>


@property (nonatomic, assign) NSInteger count;

@property (nonatomic, strong) NSArray *item;

@end
